<form id="add-form" class="form-horizontal " role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>项目名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control" id="c-project_id" name="row[project_id]" type="hidden"  value="{$row.id}" >
            <input class="form-control" id="c-project_name" name="row[project_name]" type="text" value="{$row.name}" readonly>
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>项目阶段:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[plan_status]',$Think.config.app.project_plan_status,0,['id'=>"plan_status",'class'=>'project_status form-control form_value','required'])}
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>计划时间:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-plan_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[plan_time]" type="text" value="" required>
        </div>
    </div>

    <div class="form-group plan_other" style="display: none;">
        <label class="control-label col-xs-12 col-sm-2">其他:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-plan_other" class="form-control"  name="row[plan_other]" type="text" placeholder="请填写其他信息" required>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">备注:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-memo" class="form-control"  name="row[memo]" type="text" value="" >
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="button" class="btn btn-success btn-update">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
<style type="text/css">
    .error{color:red;}
</style>